package com.ruoyi.zhgd.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.util.Date;

/**
 * 消耗信息对象 collect_dosage
 *
 * @author zyb
 * @date 2023-09-20
 */
@Data
//@EqualsAndHashCode(callSuper = true)
@TableName("collect_dosage")
public class CollectDosage {

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @TableId(value = "pk_id",type = IdType.AUTO)
    private Long pkId;
    /**
     *
     */
    private Long parentPkId;
    /**
     * 主键
     */
    private Long id;
    /**
     * 盘信息的ID
     */
    private Long piece;
    /**
     * 料仓名
     */
    private String storage;
    /**
     * 原料名
     */
    private String material;
    /**
     * 原材料规格
     */
    private String spec;
    /**
     * 含水率
     */
    private Double watFull;
    /**
     * 配方值
     */
    private Double recAmnt;
    /**
     * 设定值
     */
    private Double planAmnt;
    /**
     * 实际用量
     */
    private Double factAmnt;
//    配比值
    private Double scale;
//    误差用量
    private Double errorValue;

//    误差百分比
    private Double percentError;

    /**
     * 标识
     */
    private String flag;

    @TableField(exist = false)
    private Double materialDosage;

    private Date updateTime;

}
